package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组合数据对象 sys_group_data
 * 
 * @author zouhuu
 * @date 2022-08-01
 */
public class SysGroupData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 数据组值 */
    @Excel(name = "数据组值")
    private String groupValue;

    /** 数据字段 */
    @Excel(name = "数据字段")
    private String groupKey;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 删除状态 */
    private Integer delFlag;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setGroupValue(String groupValue) 
    {
        this.groupValue = groupValue;
    }

    public String getGroupValue() 
    {
        return groupValue;
    }
    public void setGroupKey(String groupKey) 
    {
        this.groupKey = groupKey;
    }

    public String getGroupKey() 
    {
        return groupKey;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("groupValue", getGroupValue())
            .append("groupKey", getGroupKey())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
